//
//  LcRequestMeta.h
//  18Birdies
//
//  Created by Lc on 15/3/24.
//  Copyright (c) 2015年 Lc. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
  LcRequestEncryptionTypeRaw,
  LcRequestEncryptionTypeRsa,
  LcRequestEncryptionTypeAesCommon,
  LcRequestEncryptionTypeAesUser,
  LcRequestEncryptionTypeAesUserOrCommon,
} LcRequestEncryptionType;

@interface LcRequestMeta : NSObject

@property(nonatomic, copy, readonly) NSString* path;
@property(nonatomic, assign, readonly) LcRequestEncryptionType encryptionType;
@property(nonatomic, copy, readonly) NSString* requestDataType;
@property(nonatomic, copy, readonly) NSString* responseDataType;

+ (LcRequestMeta*)requestMetaWithPath:(NSString*)path
                       encryptionType:(LcRequestEncryptionType)encryptionType
                      requestDataType:(NSString*)requestDataType
                     responseDataType:(NSString*)responseDataType;

@end
